import React from "react"
import { allStore } from "../../store/AllStore"
import 二维码 from "../footer/二维码.png"
function AllFooter(){
    const toAlbb=()=>{
        window.open("https://supplier.alibaba.com/")
    }
    const jump=(path)=>{
        window.location.replace(`http://${window.location.host}/${path}`)
    }
    const jumpOther = (path) => {
        window.open(path);
      };
      const interWeb="https://ylrefractory.en.alibaba.com/?spm=a2700.7756200.0.0.739371d2wcWfEy"
return <div id="footer" className="footer">
    <div>
   <div className="footer-m-title">{allStore.isEnglish? "READ MORE": "了解更多"}</div>
   <div className="footer-m-c" onClick={toAlbb}>{allStore.isEnglish? "Alibaba-International": "阿里巴巴国际站"}</div>
    </div>
    <div>
    <div className="footer-m-title">{allStore.isEnglish? "Navigation": "网站导航"}</div>
  <div  onClick={()=>{jump("product")}} className="footer-m-c"> {allStore.isEnglish? "Products": "产品信息"}</div>
  <div  onClick={()=>{jump("factory")}} className="footer-m-c"> {allStore.isEnglish? "Factories": "工厂信息"}</div>
  <div  onClick={()=>{jumpOther(interWeb)}} className="footer-m-c"> {allStore.isEnglish? "International website": "国际网站"}</div>
  <div  onClick={()=>{jump("about")}} className="footer-m-c"> {allStore.isEnglish? "About": "关于我们"}</div>
    </div>
    <div>
    <div className="footer-m-title">{allStore.isEnglish? "Contact information": "联系方式"}</div>
    <div  className="footer-m-cc"> {allStore.isEnglish? "Phone": "联系电话"}：18606386038</div>
    <div  className="footer-m-cc"> {allStore.isEnglish? "Email": "电子邮箱"}：18606386038@163.com</div>
    <div  className="footer-m-cc">  {allStore.isEnglish? "Company address: Room 706, Building 2, Financial Center, Intersection of Zhengyang Road and Qingnian Road, Zhoucun District, Zibo City, Shandong Province": "公司地址：山东省淄博市周村区正阳路与青年路交叉路口金融中心2号楼706室"}</div>
    </div>
    <div>
    <div className="footer-m-title">{allStore.isEnglish?"Follow us":"关注我们"}</div>
    <img alt="" style={{height:100,width:100}} src={二维码}/>
    </div>
</div>
}
export default AllFooter